package com.power.using.mydaggerp.contract.gankio.tabs;

import com.power.using.mydaggerp.model.bean.gankio.GankIoWelfareItemBean;
import com.power.using.mydaggerp.model.bean.gankio.GankIoWelfareListBean;

import io.reactivex.Observable;

/**
 * Created by 聪明一只哈 on 2019/10/14.
 * Time: 2019/10/14  13:59
 */
public interface GankIoWelfareContract {


    abstract class GankIoWelfarePresenter extends BaseTabsContract.BaseTabsPresenter<IGankIoWelfareModel,
            IGankIoWelfareView,GankIoWelfareItemBean>{

    }


    interface IGankIoWelfareModel extends BaseTabsContract.IBaseTabsModel{


        /**
         * 获取福利list
         *
         * @param pre_page 每页条数
         * @param page     当前页
         * @return Observable
         */
        Observable<GankIoWelfareListBean> getWelfareList(int pre_page, int page);


    }


    interface IGankIoWelfareView extends BaseTabsContract.IBaseTabsView<GankIoWelfareItemBean>{

    }

}
